package com.ruyuan.user.server.controller.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author xx
 */
@Data
public class SaveOrganizationRequest implements Serializable {
    private static final long serialVersionUID = -6875684186074562711L;

    private Long orgId;

    private Long parentId;

    @NotEmpty(message = "组织名字不能为空")
    private String name;

    private String desc;

    @NotEmpty(message = "组织类型不能为空")
    private String orgType;

    private Integer priority;

}
